<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<html:form method="post" action="/admin/useradd" >
            <div class="form">
                <div class="form_header">REGISTER EMPLOYEE</div>
                <div class="form_content">
                    <table>
                        <tr><td class="title">Username: (<span>*</span>)</td></tr>
                        <tr><td><html:text size="35" property="username"/></td></tr>
                        <tr><td class="title">Password: (<span>*</span>)</td></tr>
                        <tr><td><html:password  size="35" property="password"/></td></tr>
                        <tr><td class="title">Confirm Password : (<span>*</span>)</td></tr>
                        <tr><td><input type="password" name="cf_password" size="35"/></td></tr>
                        <tr><td class="title">Fullname: (<span>*</span>)</td></tr>
                        <tr><td><html:text  size="35" property="fullname"/></td></tr>
                        <tr><td class="title">Gender: (<span>*</span>)</td></tr>
                        <tr><td>
                                <html:select property="gender">
                                    <html:option value="famale">Female</html:option>
                                    <html:option value="male">Male</html:option>
                                    <html:option value="others">Others</html:option>
                                </html:select>
                        </td></tr>
                        <tr><td class="title">Date of birth (dd-mm-yyyy): (<span>*</span>)</td></tr>
                        <tr><td><html:text styleId="dob" property="birthday"  size="35" maxlength="10"/></td></tr>
                        <tr><td class="title">Email: (<span>*</span>)</td></tr>
                        <tr><td><html:text  size="35" maxlength="256" property="email"/></td></tr>
                        <tr><td class="title">Role: (<span>*</span>)</td></tr>
                        <tr><td>
                                <html:select property="role">
                                    <html:option value="employee">Employee</html:option>
                                    <html:option value="admin">Admin</html:option>
                                </html:select>
                        </td></tr>
                        <tr><td class="title">Address:</td></tr>
                        <tr><td><html:text property="address"  size="35" maxlength="256"/></td></tr>
                        <tr><td class="title">Mobile:</td></tr>
                        <tr><td><html:text property="mobile"  size="35" maxlength="15"/></td></tr>
                        <tr><td>
                            <input type="submit" name="btnSubmit" value="Register" class="button" />
                            <input type="reset" value="Cancel" class="button" />
                        </td></tr>
                    </table>
                </div>
            </div>
            </html:form>


